/**
 * Copyright � 2012 GestureSoft. ALL RIGHTS RESERVED.
 * This file contains proprietary and GestureSoft CONFIDENTIAL Information.
 * Use, disclosure or reproduction is prohibited.
 * 
 * @fileName CustomCompleteEvent.as
 * @creationDate Sep 3, 2012
 * @author 
 * @version 1.0
 */
package com.gesturesoft.imultimax.events
{
	import flash.events.Event;
	
	public class CustomCompleteEvent extends Event
	{
		
		public static const COMPLETED:String = "completed";
		
		private var _message:String;
		
		public function CustomCompleteEvent(type:String, msg:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			
			super(type, bubbles, cancelable);
			message = msg;
			
		}
		
		override public function clone():Event 
		{
			
			return new CustomCompleteEvent(type, message, bubbles, cancelable);
			
		}
		
		/**
		 * This is a public getter function for return the event meessage
		 * 
		 * @functionName message
		 * @creationDate Sep 3, 2012
		 * @author micmac
		 * @return String 
		 */
		public function get message():String 
		{
			
			return _message;
		}
		
		/**
		 * This is a public setter function for set the message for event
		 * 
		 * @functionName message
		 * @creationDate Sep 3, 2012
		 * @author micmac
		 * @argument value:String
		 */
		public function set message(value:String):void 
		{
			_message = value;
			
		}
		
	}
	
}
